<?php
namespace Admin\Controller;
use Think\Controller;
	class ArtcateController extends CommonController{
	
		public function _before_del(){
			$art = M('Article');
			$num = $art->where('artcate_id='.$_GET['id'])->count();
			if($num>0){
				$this->show('error');
				return false;
			}
		}
		
		
	}
?>
